<extend name="Base/common"/>
<block name="header">
    <include file="Public/_nav"/>
    <link href="__CSS__/course.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="__JS__/common.js"></script>
</block>


<block name="body">

      <!--   <include file="Public/_hot_sell"/> -->
        <!-- 左侧菜start -->
        <div class="col-md-2">            
          <include file="Public/wsidebar"  />
        </div>
        <!-- 左侧菜end -->
  <!--内容栏start-->
  <div class="col-md-10 content">  
    <ul class="nav nav-tabs">
	   <li ><a href="{:U('Wckczuoye/index')}"><i class="icon icon-home"></i>首页</a></li>
     <li ><a href="{:U('Wckczuoye/add')}">资料上传</a></li>
     <li ><a href="{:U('Wckczuoye/search')}">文档搜索</a></li>
     <li><a href="{:U('Wckczuoye/Group')}">组别管理</a></li>
	   <li class="active"><a href="{:U('Wckczuoye/detail','id='.$alist['id'])}" >{$alist.title}</a><li>
   </ul>
	
    <div class="clearfix"><br/></div>
   <!-- 备课资料详情面板 start --> 
   <div class="col-md-10">
    <div class="panel panel-info">
          <div class="panel-heading">
               <h3 class="panel-title">{$alist.subject}{$alist.grade}《{$alist.title}》 <span class="pull-right">上传时间：{$alist.update_time|date='Y-m-d',###}</span></h3>
          </div>
          <div class="panel-body">
          <h2>文档信息</h2>
          <dl class="dl-horizontal">
              <dt>学  期：</dt>
              <dd>【{$alist.term}】</dd>
          </dl>
          <dl class="dl-horizontal">
              <dt>组  别：</dt>
              <dd>【{$alist.group}】</dd>
          </dl>

           <dl class="dl-horizontal">
              <dt>标  题：</dt>
              <dd>【{$alist.title}】</dd>
          </dl>
          <dl class="dl-horizontal">
              <dt>教  师：</dt>
              <dd>【{$alist.teacher}】</dd>
          </dl>
          <dl class="dl-horizontal">
              <dt>上传日期：</dt>
              <dd>【{$alist.update_time|date='Y-m-d h:i',###}】</dd>
          </dl>


            <div class="clearfix"></div>
            <a href="{:U('Jtbk/Wckczuoye/download',array('fid'=>$alist['id']))}" 
            class="btn btn-lg btn-primary pull-right"><i class="icon icon-2x icon-cloud-download"></i> 点击下载</a>


           </div>
            <div class="panel-footer">
                  <div class="label label-info">{$alist.subject}{$alist.grade}{$alist.title}</div>
                  <div class="label label-info"></div>                  
                  <div class="label label-info"></div>

                <div class="pull-right">
                     <span style="color:#0088AA"><i class="icon icon-file"></i>附件下载:</span>
                       <if condition="!$alist['file_url']">【暂无】</if>
                       <else>
                              <a style="margin-left:15px" href="{:U('Jtbk/Wckczuoye/download',array('fid'=>$alist['id']))}" >
                              <span style="color:#0088AA"><i class="icon-save"></i>{$alist.cate}</span></a>
                   </else> 
                 </div>
             </div>
    </div>
           
           <div class="col-md-12 main_content"></div>
 </div> 
 <!--备课资料详情面板end -->
</block>

